package com.ruoyi.project.price.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 价格规则对象 bins_price_rule
 * 
 * @author administrator
 * @date 2025-04-02
 */
public class BinsPriceRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String vehicleType;

    /** 开始值 */
    @Excel(name = "开始值")
    private BigDecimal startVal;

    /** 结束值 */
    @Excel(name = "结束值")
    private BigDecimal endVal;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 价格规则（1.时间，2.次数） */
    @Excel(name = "价格规则", readConverterExp = "1=.时间，2.次数")
    private String priceRule;

    /** 产品代码 */
    @Excel(name = "产品代码")
    private String productCode;

    /** 计费周期 */
    @Excel(name = "计费周期")
    private String oneMins;

    /** 产品说明 */
    @Excel(name = "产品说明")
    private String productDescription;

    /** 产品其它属性 */
    @Excel(name = "产品其它属性")
    private String productType;

    /** 备用0 */
    @Excel(name = "备用0")
    private String res0;

    /** 备用1 */
    @Excel(name = "备用1")
    private String res1;

    /** 备用2 */
    @Excel(name = "备用2")
    private String res2;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setVehicleType(String vehicleType) 
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType() 
    {
        return vehicleType;
    }

    public void setStartVal(BigDecimal startVal) 
    {
        this.startVal = startVal;
    }

    public BigDecimal getStartVal() 
    {
        return startVal;
    }

    public void setEndVal(BigDecimal endVal) 
    {
        this.endVal = endVal;
    }

    public BigDecimal getEndVal() 
    {
        return endVal;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setPriceRule(String priceRule) 
    {
        this.priceRule = priceRule;
    }

    public String getPriceRule() 
    {
        return priceRule;
    }

    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }

    public String getOneMins() {
        return oneMins;
    }

    public void setOneMins(String oneMins) {
        this.oneMins = oneMins;
    }

    public void setProductDescription(String productDescription)
    {
        this.productDescription = productDescription;
    }

    public String getProductDescription() 
    {
        return productDescription;
    }

    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }

    public void setRes0(String res0) 
    {
        this.res0 = res0;
    }

    public String getRes0() 
    {
        return res0;
    }

    public void setRes1(String res1) 
    {
        this.res1 = res1;
    }

    public String getRes1() 
    {
        return res1;
    }

    public void setRes2(String res2) 
    {
        this.res2 = res2;
    }

    public String getRes2() 
    {
        return res2;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vehicleType", getVehicleType())
            .append("startVal", getStartVal())
            .append("endVal", getEndVal())
            .append("price", getPrice())
            .append("priceRule", getPriceRule())
            .append("productCode", getProductCode())
            .append("oneMins", getOneMins())
            .append("productDescription", getProductDescription())
            .append("productType", getProductType())
            .append("res0", getRes0())
            .append("res1", getRes1())
            .append("res2", getRes2())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
